$(document).ready(function () {
    $('.content-wrapper').IFrame({
        // 设置适当的选项和事件处理程序
        onTabClick: function (item) {
            // console.log('Tab clicked:', item);
            return item;
        },
        onTabChanged: function (item) {
            // console.log('Tab changed:', item);
            return item;
        },
        onTabCreated: function (item) {
            // console.log('Tab created:', item);
            return item;
        },
        onTabCreated: function (item) {
            // console.log('Tab created:', item);
            return item;
        },
        autoIframeMode: true,
        autoItemActive: true,
        autoShowNewTab: true,
        allowDuplicates: true,
        loadingScreen: 750,
        useNavbarItems: true
    });
});
